package com.service.impl;

import com.entity.DinerOrderDetail;
import com.mapper.DinerOrderDetallMapper;
import com.service.DinerOrderDetailService;
import com.service.DinerOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class DinerOrderDetailServiceImpl implements DinerOrderDetailService {
    @Autowired
    DinerOrderDetallMapper dinerOrderDetallMapper;
    @Override
    public int insertOrderDetallInfo(List<DinerOrderDetail> dinerOrderDetail) {
        return dinerOrderDetallMapper.insertOrderDetallInfo(dinerOrderDetail);
    }
}
